package com.tebiecloud.order.server.mapper;

import com.tebiecloud.order.client.model.entity.Orderr;
import com.tebiecloud.common.mybatis.base.mapper.SuperMapper;
import com.tebiecloud.order.client.model.vo.IncomeSubList;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 订单 Mapper 接口
 * @author tebie
 * @date 2019-09-15
 */
@Repository
public interface OrderrMapper extends SuperMapper<Orderr> {

    /**
     * 查询订单分组
     * @param orderIdList
     * @return
     */
    List<IncomeSubList> selectIncomeSubList(@Param("orderIdList") List<Long> orderIdList,@Param("month") String month,@Param("day") String day);
}
